﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ongoal.Quotation.Service.Common
{
    /// <summary>
    /// 模型映射特性
    /// </summary>
   [AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
    public class modelattrbute:Attribute
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="_name"></param>
        public modelattrbute(string _name)
        { 
          name = _name; 
        }
        /// <summary>
        /// 映射名称
        /// </summary>
        public string name { get; set; }
    }
}
